package org.example.lethear.dto.file;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * 文件上传响应DTO
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class FileUploadResponse {
    
    private Long id;
    private String fileName;
    private String originalName;
    private String fileType;
    private Long fileSize;
    private String fileUrl;
    private String thumbnailUrl;
    private String uploadType;
    private LocalDateTime createdAt;
    
    /**
     * 上传是否成功
     */
    private Boolean success;
    
    /**
     * 上传信息
     */
    private String message;
} 